export default interface socket {
  websocket: any
  connectURL: string
  socket_open: boolean
  hearbeat_timer: any
  hearbeat_interval: number
  is_reonnect: boolean
  reconnect_count: number
  reconnect_current: number
  reconnect_timer: any
  reconnect_interval: number
  init: (receiveMessage: Function | null) => any
  heartbeat: () => void
  send: (data: any, callback?: any) => void
  close: () => void
  reconnect: () => void
}